﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000933 RID: 2355
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HMOAHJFNPIO : IMessage<HMOAHJFNPIO>, IMessage, IEquatable<HMOAHJFNPIO>, IDeepCloneable<HMOAHJFNPIO>, IBufferMessage
	{
		// Token: 0x17001DE1 RID: 7649
		// (get) Token: 0x060069C2 RID: 27074 RVA: 0x0011C509 File Offset: 0x0011A709
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HMOAHJFNPIO> Parser
		{
			get
			{
				return HMOAHJFNPIO._parser;
			}
		}

		// Token: 0x17001DE2 RID: 7650
		// (get) Token: 0x060069C3 RID: 27075 RVA: 0x0011C510 File Offset: 0x0011A710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HMOAHJFNPIOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DE3 RID: 7651
		// (get) Token: 0x060069C4 RID: 27076 RVA: 0x0011C522 File Offset: 0x0011A722
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HMOAHJFNPIO.Descriptor;
			}
		}

		// Token: 0x060069C5 RID: 27077 RVA: 0x0011C529 File Offset: 0x0011A729
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMOAHJFNPIO()
		{
		}

		// Token: 0x060069C6 RID: 27078 RVA: 0x0011C531 File Offset: 0x0011A731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMOAHJFNPIO(HMOAHJFNPIO other) : this()
		{
			this.rogueFormulaSelectInfo_ = ((other.rogueFormulaSelectInfo_ != null) ? other.rogueFormulaSelectInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060069C7 RID: 27079 RVA: 0x0011C566 File Offset: 0x0011A766
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HMOAHJFNPIO Clone()
		{
			return new HMOAHJFNPIO(this);
		}

		// Token: 0x17001DE4 RID: 7652
		// (get) Token: 0x060069C8 RID: 27080 RVA: 0x0011C56E File Offset: 0x0011A76E
		// (set) Token: 0x060069C9 RID: 27081 RVA: 0x0011C576 File Offset: 0x0011A776
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueFormulaSelectInfo RogueFormulaSelectInfo
		{
			get
			{
				return this.rogueFormulaSelectInfo_;
			}
			set
			{
				this.rogueFormulaSelectInfo_ = value;
			}
		}

		// Token: 0x060069CA RID: 27082 RVA: 0x0011C57F File Offset: 0x0011A77F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HMOAHJFNPIO);
		}

		// Token: 0x060069CB RID: 27083 RVA: 0x0011C58D File Offset: 0x0011A78D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HMOAHJFNPIO other)
		{
			return other != null && (other == this || (object.Equals(this.RogueFormulaSelectInfo, other.RogueFormulaSelectInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060069CC RID: 27084 RVA: 0x0011C5C0 File Offset: 0x0011A7C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueFormulaSelectInfo_ != null)
			{
				num ^= this.RogueFormulaSelectInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060069CD RID: 27085 RVA: 0x0011C5FC File Offset: 0x0011A7FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060069CE RID: 27086 RVA: 0x0011C604 File Offset: 0x0011A804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060069CF RID: 27087 RVA: 0x0011C60D File Offset: 0x0011A80D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueFormulaSelectInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.RogueFormulaSelectInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060069D0 RID: 27088 RVA: 0x0011C640 File Offset: 0x0011A840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueFormulaSelectInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueFormulaSelectInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060069D1 RID: 27089 RVA: 0x0011C680 File Offset: 0x0011A880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HMOAHJFNPIO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueFormulaSelectInfo_ != null)
			{
				if (this.rogueFormulaSelectInfo_ == null)
				{
					this.RogueFormulaSelectInfo = new RogueFormulaSelectInfo();
				}
				this.RogueFormulaSelectInfo.MergeFrom(other.RogueFormulaSelectInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060069D2 RID: 27090 RVA: 0x0011C6D4 File Offset: 0x0011A8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060069D3 RID: 27091 RVA: 0x0011C6E0 File Offset: 0x0011A8E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueFormulaSelectInfo_ == null)
					{
						this.RogueFormulaSelectInfo = new RogueFormulaSelectInfo();
					}
					input.ReadMessage(this.RogueFormulaSelectInfo);
				}
			}
		}

		// Token: 0x04002863 RID: 10339
		private static readonly MessageParser<HMOAHJFNPIO> _parser = new MessageParser<HMOAHJFNPIO>(() => new HMOAHJFNPIO());

		// Token: 0x04002864 RID: 10340
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002865 RID: 10341
		public const int RogueFormulaSelectInfoFieldNumber = 13;

		// Token: 0x04002866 RID: 10342
		private RogueFormulaSelectInfo rogueFormulaSelectInfo_;
	}
}
